package com.jari.lg.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DetectorHis5minExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DetectorHis5minExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeIsNull() {
            addCriterion("detectorCode is null");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeIsNotNull() {
            addCriterion("detectorCode is not null");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeEqualTo(String value) {
            addCriterion("detectorCode =", value, "detectorcode");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeNotEqualTo(String value) {
            addCriterion("detectorCode <>", value, "detectorcode");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeGreaterThan(String value) {
            addCriterion("detectorCode >", value, "detectorcode");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeGreaterThanOrEqualTo(String value) {
            addCriterion("detectorCode >=", value, "detectorcode");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeLessThan(String value) {
            addCriterion("detectorCode <", value, "detectorcode");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeLessThanOrEqualTo(String value) {
            addCriterion("detectorCode <=", value, "detectorcode");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeLike(String value) {
            addCriterion("detectorCode like", value, "detectorcode");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeNotLike(String value) {
            addCriterion("detectorCode not like", value, "detectorcode");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeIn(List<String> values) {
            addCriterion("detectorCode in", values, "detectorcode");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeNotIn(List<String> values) {
            addCriterion("detectorCode not in", values, "detectorcode");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeBetween(String value1, String value2) {
            addCriterion("detectorCode between", value1, value2, "detectorcode");
            return (Criteria) this;
        }

        public Criteria andDetectorcodeNotBetween(String value1, String value2) {
            addCriterion("detectorCode not between", value1, value2, "detectorcode");
            return (Criteria) this;
        }

        public Criteria andCtlcodeIsNull() {
            addCriterion("ctlCode is null");
            return (Criteria) this;
        }

        public Criteria andCtlcodeIsNotNull() {
            addCriterion("ctlCode is not null");
            return (Criteria) this;
        }

        public Criteria andCtlcodeEqualTo(String value) {
            addCriterion("ctlCode =", value, "ctlcode");
            return (Criteria) this;
        }

        public Criteria andCtlcodeNotEqualTo(String value) {
            addCriterion("ctlCode <>", value, "ctlcode");
            return (Criteria) this;
        }

        public Criteria andCtlcodeGreaterThan(String value) {
            addCriterion("ctlCode >", value, "ctlcode");
            return (Criteria) this;
        }

        public Criteria andCtlcodeGreaterThanOrEqualTo(String value) {
            addCriterion("ctlCode >=", value, "ctlcode");
            return (Criteria) this;
        }

        public Criteria andCtlcodeLessThan(String value) {
            addCriterion("ctlCode <", value, "ctlcode");
            return (Criteria) this;
        }

        public Criteria andCtlcodeLessThanOrEqualTo(String value) {
            addCriterion("ctlCode <=", value, "ctlcode");
            return (Criteria) this;
        }

        public Criteria andCtlcodeLike(String value) {
            addCriterion("ctlCode like", value, "ctlcode");
            return (Criteria) this;
        }

        public Criteria andCtlcodeNotLike(String value) {
            addCriterion("ctlCode not like", value, "ctlcode");
            return (Criteria) this;
        }

        public Criteria andCtlcodeIn(List<String> values) {
            addCriterion("ctlCode in", values, "ctlcode");
            return (Criteria) this;
        }

        public Criteria andCtlcodeNotIn(List<String> values) {
            addCriterion("ctlCode not in", values, "ctlcode");
            return (Criteria) this;
        }

        public Criteria andCtlcodeBetween(String value1, String value2) {
            addCriterion("ctlCode between", value1, value2, "ctlcode");
            return (Criteria) this;
        }

        public Criteria andCtlcodeNotBetween(String value1, String value2) {
            addCriterion("ctlCode not between", value1, value2, "ctlcode");
            return (Criteria) this;
        }

        public Criteria andJnccodeIsNull() {
            addCriterion("jncCode is null");
            return (Criteria) this;
        }

        public Criteria andJnccodeIsNotNull() {
            addCriterion("jncCode is not null");
            return (Criteria) this;
        }

        public Criteria andJnccodeEqualTo(String value) {
            addCriterion("jncCode =", value, "jnccode");
            return (Criteria) this;
        }

        public Criteria andJnccodeNotEqualTo(String value) {
            addCriterion("jncCode <>", value, "jnccode");
            return (Criteria) this;
        }

        public Criteria andJnccodeGreaterThan(String value) {
            addCriterion("jncCode >", value, "jnccode");
            return (Criteria) this;
        }

        public Criteria andJnccodeGreaterThanOrEqualTo(String value) {
            addCriterion("jncCode >=", value, "jnccode");
            return (Criteria) this;
        }

        public Criteria andJnccodeLessThan(String value) {
            addCriterion("jncCode <", value, "jnccode");
            return (Criteria) this;
        }

        public Criteria andJnccodeLessThanOrEqualTo(String value) {
            addCriterion("jncCode <=", value, "jnccode");
            return (Criteria) this;
        }

        public Criteria andJnccodeLike(String value) {
            addCriterion("jncCode like", value, "jnccode");
            return (Criteria) this;
        }

        public Criteria andJnccodeNotLike(String value) {
            addCriterion("jncCode not like", value, "jnccode");
            return (Criteria) this;
        }

        public Criteria andJnccodeIn(List<String> values) {
            addCriterion("jncCode in", values, "jnccode");
            return (Criteria) this;
        }

        public Criteria andJnccodeNotIn(List<String> values) {
            addCriterion("jncCode not in", values, "jnccode");
            return (Criteria) this;
        }

        public Criteria andJnccodeBetween(String value1, String value2) {
            addCriterion("jncCode between", value1, value2, "jnccode");
            return (Criteria) this;
        }

        public Criteria andJnccodeNotBetween(String value1, String value2) {
            addCriterion("jncCode not between", value1, value2, "jnccode");
            return (Criteria) this;
        }

        public Criteria andJncnameIsNull() {
            addCriterion("jncName is null");
            return (Criteria) this;
        }

        public Criteria andJncnameIsNotNull() {
            addCriterion("jncName is not null");
            return (Criteria) this;
        }

        public Criteria andJncnameEqualTo(String value) {
            addCriterion("jncName =", value, "jncname");
            return (Criteria) this;
        }

        public Criteria andJncnameNotEqualTo(String value) {
            addCriterion("jncName <>", value, "jncname");
            return (Criteria) this;
        }

        public Criteria andJncnameGreaterThan(String value) {
            addCriterion("jncName >", value, "jncname");
            return (Criteria) this;
        }

        public Criteria andJncnameGreaterThanOrEqualTo(String value) {
            addCriterion("jncName >=", value, "jncname");
            return (Criteria) this;
        }

        public Criteria andJncnameLessThan(String value) {
            addCriterion("jncName <", value, "jncname");
            return (Criteria) this;
        }

        public Criteria andJncnameLessThanOrEqualTo(String value) {
            addCriterion("jncName <=", value, "jncname");
            return (Criteria) this;
        }

        public Criteria andJncnameLike(String value) {
            addCriterion("jncName like", value, "jncname");
            return (Criteria) this;
        }

        public Criteria andJncnameNotLike(String value) {
            addCriterion("jncName not like", value, "jncname");
            return (Criteria) this;
        }

        public Criteria andJncnameIn(List<String> values) {
            addCriterion("jncName in", values, "jncname");
            return (Criteria) this;
        }

        public Criteria andJncnameNotIn(List<String> values) {
            addCriterion("jncName not in", values, "jncname");
            return (Criteria) this;
        }

        public Criteria andJncnameBetween(String value1, String value2) {
            addCriterion("jncName between", value1, value2, "jncname");
            return (Criteria) this;
        }

        public Criteria andJncnameNotBetween(String value1, String value2) {
            addCriterion("jncName not between", value1, value2, "jncname");
            return (Criteria) this;
        }

        public Criteria andRoadidIsNull() {
            addCriterion("roadID is null");
            return (Criteria) this;
        }

        public Criteria andRoadidIsNotNull() {
            addCriterion("roadID is not null");
            return (Criteria) this;
        }

        public Criteria andRoadidEqualTo(String value) {
            addCriterion("roadID =", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidNotEqualTo(String value) {
            addCriterion("roadID <>", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidGreaterThan(String value) {
            addCriterion("roadID >", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidGreaterThanOrEqualTo(String value) {
            addCriterion("roadID >=", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidLessThan(String value) {
            addCriterion("roadID <", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidLessThanOrEqualTo(String value) {
            addCriterion("roadID <=", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidLike(String value) {
            addCriterion("roadID like", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidNotLike(String value) {
            addCriterion("roadID not like", value, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidIn(List<String> values) {
            addCriterion("roadID in", values, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidNotIn(List<String> values) {
            addCriterion("roadID not in", values, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidBetween(String value1, String value2) {
            addCriterion("roadID between", value1, value2, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadidNotBetween(String value1, String value2) {
            addCriterion("roadID not between", value1, value2, "roadid");
            return (Criteria) this;
        }

        public Criteria andRoadnameIsNull() {
            addCriterion("roadName is null");
            return (Criteria) this;
        }

        public Criteria andRoadnameIsNotNull() {
            addCriterion("roadName is not null");
            return (Criteria) this;
        }

        public Criteria andRoadnameEqualTo(String value) {
            addCriterion("roadName =", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameNotEqualTo(String value) {
            addCriterion("roadName <>", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameGreaterThan(String value) {
            addCriterion("roadName >", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameGreaterThanOrEqualTo(String value) {
            addCriterion("roadName >=", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameLessThan(String value) {
            addCriterion("roadName <", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameLessThanOrEqualTo(String value) {
            addCriterion("roadName <=", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameLike(String value) {
            addCriterion("roadName like", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameNotLike(String value) {
            addCriterion("roadName not like", value, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameIn(List<String> values) {
            addCriterion("roadName in", values, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameNotIn(List<String> values) {
            addCriterion("roadName not in", values, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameBetween(String value1, String value2) {
            addCriterion("roadName between", value1, value2, "roadname");
            return (Criteria) this;
        }

        public Criteria andRoadnameNotBetween(String value1, String value2) {
            addCriterion("roadName not between", value1, value2, "roadname");
            return (Criteria) this;
        }

        public Criteria andAvgspeedIsNull() {
            addCriterion("avgSpeed is null");
            return (Criteria) this;
        }

        public Criteria andAvgspeedIsNotNull() {
            addCriterion("avgSpeed is not null");
            return (Criteria) this;
        }

        public Criteria andAvgspeedEqualTo(Double value) {
            addCriterion("avgSpeed =", value, "avgspeed");
            return (Criteria) this;
        }

        public Criteria andAvgspeedNotEqualTo(Double value) {
            addCriterion("avgSpeed <>", value, "avgspeed");
            return (Criteria) this;
        }

        public Criteria andAvgspeedGreaterThan(Double value) {
            addCriterion("avgSpeed >", value, "avgspeed");
            return (Criteria) this;
        }

        public Criteria andAvgspeedGreaterThanOrEqualTo(Double value) {
            addCriterion("avgSpeed >=", value, "avgspeed");
            return (Criteria) this;
        }

        public Criteria andAvgspeedLessThan(Double value) {
            addCriterion("avgSpeed <", value, "avgspeed");
            return (Criteria) this;
        }

        public Criteria andAvgspeedLessThanOrEqualTo(Double value) {
            addCriterion("avgSpeed <=", value, "avgspeed");
            return (Criteria) this;
        }

        public Criteria andAvgspeedIn(List<Double> values) {
            addCriterion("avgSpeed in", values, "avgspeed");
            return (Criteria) this;
        }

        public Criteria andAvgspeedNotIn(List<Double> values) {
            addCriterion("avgSpeed not in", values, "avgspeed");
            return (Criteria) this;
        }

        public Criteria andAvgspeedBetween(Double value1, Double value2) {
            addCriterion("avgSpeed between", value1, value2, "avgspeed");
            return (Criteria) this;
        }

        public Criteria andAvgspeedNotBetween(Double value1, Double value2) {
            addCriterion("avgSpeed not between", value1, value2, "avgspeed");
            return (Criteria) this;
        }

        public Criteria andStartdatetimeIsNull() {
            addCriterion("startDatetime is null");
            return (Criteria) this;
        }

        public Criteria andStartdatetimeIsNotNull() {
            addCriterion("startDatetime is not null");
            return (Criteria) this;
        }

        public Criteria andStartdatetimeEqualTo(Date value) {
            addCriterion("startDatetime =", value, "startdatetime");
            return (Criteria) this;
        }

        public Criteria andStartdatetimeNotEqualTo(Date value) {
            addCriterion("startDatetime <>", value, "startdatetime");
            return (Criteria) this;
        }

        public Criteria andStartdatetimeGreaterThan(Date value) {
            addCriterion("startDatetime >", value, "startdatetime");
            return (Criteria) this;
        }

        public Criteria andStartdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("startDatetime >=", value, "startdatetime");
            return (Criteria) this;
        }

        public Criteria andStartdatetimeLessThan(Date value) {
            addCriterion("startDatetime <", value, "startdatetime");
            return (Criteria) this;
        }

        public Criteria andStartdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("startDatetime <=", value, "startdatetime");
            return (Criteria) this;
        }

        public Criteria andStartdatetimeIn(List<Date> values) {
            addCriterion("startDatetime in", values, "startdatetime");
            return (Criteria) this;
        }

        public Criteria andStartdatetimeNotIn(List<Date> values) {
            addCriterion("startDatetime not in", values, "startdatetime");
            return (Criteria) this;
        }

        public Criteria andStartdatetimeBetween(Date value1, Date value2) {
            addCriterion("startDatetime between", value1, value2, "startdatetime");
            return (Criteria) this;
        }

        public Criteria andStartdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("startDatetime not between", value1, value2, "startdatetime");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumIsNull() {
            addCriterion("passingCarNum is null");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumIsNotNull() {
            addCriterion("passingCarNum is not null");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumEqualTo(Integer value) {
            addCriterion("passingCarNum =", value, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumNotEqualTo(Integer value) {
            addCriterion("passingCarNum <>", value, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumGreaterThan(Integer value) {
            addCriterion("passingCarNum >", value, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("passingCarNum >=", value, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumLessThan(Integer value) {
            addCriterion("passingCarNum <", value, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumLessThanOrEqualTo(Integer value) {
            addCriterion("passingCarNum <=", value, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumIn(List<Integer> values) {
            addCriterion("passingCarNum in", values, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumNotIn(List<Integer> values) {
            addCriterion("passingCarNum not in", values, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumBetween(Integer value1, Integer value2) {
            addCriterion("passingCarNum between", value1, value2, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andPassingcarnumNotBetween(Integer value1, Integer value2) {
            addCriterion("passingCarNum not between", value1, value2, "passingcarnum");
            return (Criteria) this;
        }

        public Criteria andBigcarIsNull() {
            addCriterion("bigCar is null");
            return (Criteria) this;
        }

        public Criteria andBigcarIsNotNull() {
            addCriterion("bigCar is not null");
            return (Criteria) this;
        }

        public Criteria andBigcarEqualTo(Integer value) {
            addCriterion("bigCar =", value, "bigcar");
            return (Criteria) this;
        }

        public Criteria andBigcarNotEqualTo(Integer value) {
            addCriterion("bigCar <>", value, "bigcar");
            return (Criteria) this;
        }

        public Criteria andBigcarGreaterThan(Integer value) {
            addCriterion("bigCar >", value, "bigcar");
            return (Criteria) this;
        }

        public Criteria andBigcarGreaterThanOrEqualTo(Integer value) {
            addCriterion("bigCar >=", value, "bigcar");
            return (Criteria) this;
        }

        public Criteria andBigcarLessThan(Integer value) {
            addCriterion("bigCar <", value, "bigcar");
            return (Criteria) this;
        }

        public Criteria andBigcarLessThanOrEqualTo(Integer value) {
            addCriterion("bigCar <=", value, "bigcar");
            return (Criteria) this;
        }

        public Criteria andBigcarIn(List<Integer> values) {
            addCriterion("bigCar in", values, "bigcar");
            return (Criteria) this;
        }

        public Criteria andBigcarNotIn(List<Integer> values) {
            addCriterion("bigCar not in", values, "bigcar");
            return (Criteria) this;
        }

        public Criteria andBigcarBetween(Integer value1, Integer value2) {
            addCriterion("bigCar between", value1, value2, "bigcar");
            return (Criteria) this;
        }

        public Criteria andBigcarNotBetween(Integer value1, Integer value2) {
            addCriterion("bigCar not between", value1, value2, "bigcar");
            return (Criteria) this;
        }

        public Criteria andLittlecarIsNull() {
            addCriterion("littleCar is null");
            return (Criteria) this;
        }

        public Criteria andLittlecarIsNotNull() {
            addCriterion("littleCar is not null");
            return (Criteria) this;
        }

        public Criteria andLittlecarEqualTo(Integer value) {
            addCriterion("littleCar =", value, "littlecar");
            return (Criteria) this;
        }

        public Criteria andLittlecarNotEqualTo(Integer value) {
            addCriterion("littleCar <>", value, "littlecar");
            return (Criteria) this;
        }

        public Criteria andLittlecarGreaterThan(Integer value) {
            addCriterion("littleCar >", value, "littlecar");
            return (Criteria) this;
        }

        public Criteria andLittlecarGreaterThanOrEqualTo(Integer value) {
            addCriterion("littleCar >=", value, "littlecar");
            return (Criteria) this;
        }

        public Criteria andLittlecarLessThan(Integer value) {
            addCriterion("littleCar <", value, "littlecar");
            return (Criteria) this;
        }

        public Criteria andLittlecarLessThanOrEqualTo(Integer value) {
            addCriterion("littleCar <=", value, "littlecar");
            return (Criteria) this;
        }

        public Criteria andLittlecarIn(List<Integer> values) {
            addCriterion("littleCar in", values, "littlecar");
            return (Criteria) this;
        }

        public Criteria andLittlecarNotIn(List<Integer> values) {
            addCriterion("littleCar not in", values, "littlecar");
            return (Criteria) this;
        }

        public Criteria andLittlecarBetween(Integer value1, Integer value2) {
            addCriterion("littleCar between", value1, value2, "littlecar");
            return (Criteria) this;
        }

        public Criteria andLittlecarNotBetween(Integer value1, Integer value2) {
            addCriterion("littleCar not between", value1, value2, "littlecar");
            return (Criteria) this;
        }

        public Criteria andMaxqueueIsNull() {
            addCriterion("maxQueue is null");
            return (Criteria) this;
        }

        public Criteria andMaxqueueIsNotNull() {
            addCriterion("maxQueue is not null");
            return (Criteria) this;
        }

        public Criteria andMaxqueueEqualTo(Double value) {
            addCriterion("maxQueue =", value, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueNotEqualTo(Double value) {
            addCriterion("maxQueue <>", value, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueGreaterThan(Double value) {
            addCriterion("maxQueue >", value, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueGreaterThanOrEqualTo(Double value) {
            addCriterion("maxQueue >=", value, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueLessThan(Double value) {
            addCriterion("maxQueue <", value, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueLessThanOrEqualTo(Double value) {
            addCriterion("maxQueue <=", value, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueIn(List<Double> values) {
            addCriterion("maxQueue in", values, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueNotIn(List<Double> values) {
            addCriterion("maxQueue not in", values, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueBetween(Double value1, Double value2) {
            addCriterion("maxQueue between", value1, value2, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andMaxqueueNotBetween(Double value1, Double value2) {
            addCriterion("maxQueue not between", value1, value2, "maxqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueIsNull() {
            addCriterion("avgQueue is null");
            return (Criteria) this;
        }

        public Criteria andAvgqueueIsNotNull() {
            addCriterion("avgQueue is not null");
            return (Criteria) this;
        }

        public Criteria andAvgqueueEqualTo(Double value) {
            addCriterion("avgQueue =", value, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueNotEqualTo(Double value) {
            addCriterion("avgQueue <>", value, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueGreaterThan(Double value) {
            addCriterion("avgQueue >", value, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueGreaterThanOrEqualTo(Double value) {
            addCriterion("avgQueue >=", value, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueLessThan(Double value) {
            addCriterion("avgQueue <", value, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueLessThanOrEqualTo(Double value) {
            addCriterion("avgQueue <=", value, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueIn(List<Double> values) {
            addCriterion("avgQueue in", values, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueNotIn(List<Double> values) {
            addCriterion("avgQueue not in", values, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueBetween(Double value1, Double value2) {
            addCriterion("avgQueue between", value1, value2, "avgqueue");
            return (Criteria) this;
        }

        public Criteria andAvgqueueNotBetween(Double value1, Double value2) {
            addCriterion("avgQueue not between", value1, value2, "avgqueue");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}